package com.shfl.task.common;


/**
 * 不带参数返回值
 *
 * @author c_caoxin
 */
public class ApiResultHelper extends BaseHelper {

    private static final long serialVersionUID = 3576609348410102245L;

    private String resCode;

    private String resDesc;

    public ApiResultHelper(String var1) {
        this.resCode = var1;
    }

    public ApiResultHelper(String var1, String var2) {
        this.resCode = var1;
        this.resDesc = var2;
    }

    public String getResDesc() {
        return this.resDesc != null && !"".equals(this.resDesc) ? this.resDesc : ResCodeMessage.getMessageDesc(this.resCode);
    }

    public String getResCode() {
        return this.resCode;
    }

    public void setResCode(String var1) {
        this.resCode = var1;
    }

    public void setResDesc(String var1) {
        this.resDesc = var1;
    }

}
